import java.io.*;

public class UserPreferences implements Serializable {
	private String name;
	private String zipCode;
	private String typeOfFood;
	private Preferences preferences;
	
	public UserPreferences() {
		setName("");
		setTypeOfFood("");
		setPreferences(new Preferences());
	}
	
	public UserPreferences(String name, String zipCode, String type, Preferences pref) {
		setName(name);
		setZipCode(zipCode);
		setTypeOfFood(type);
		setPreferences(pref);
	}
	
	public String getName() {
		return name;
	}

	public String getZipCode() {
		return zipCode;
	}
	
	public String getType() {
		return typeOfFood;
	}
	
	public Preferences getPreferences() {
		return preferences;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	
	public void setTypeOfFood(String type) {
		this.typeOfFood = type;
	}
	
	public void setPreferences(Preferences pref) {
		this.preferences = pref;
	}
}
